package com.library.model.serviceimple;

import com.library.model.dao.LoginDAO;
import com.library.model.dto.login.LoginDTO;
import com.library.model.service.LoginService;

public class LoginServiceImple implements LoginService {

	private LoginDAO logindao;
	
	public void setLogindao(LoginDAO logindao) {
		this.logindao = logindao;
	}

	@Override
	public LoginDTO getLogin(LoginDTO dto) {
		return logindao.getLogin(dto);
	}

	@Override
	public int getId(String id) {
		return logindao.getId(id);
	}

}
